/**
 * zoneland.net Inc.
 * Copyright (c) 2002-2012 All Rights Reserved.
 */
package com.sanerzone.smscenter.gateway.base;

/**
 *
 * @author wangyong
 * @version $Id: GateStateEnum.java, v 0.1 2012-9-10 下午6:36:01 wangyong Exp $
 */
public enum GateStateEnum {

    ENABLED(1, "可用"), DISABLED(2, "不可用"), ERROR(-1, "启用异常");
    private int value;
    private String description;

    private GateStateEnum(int value, String description) {
        this.value = value;
        this.description = description;
    }

    public int getValue() {
        return this.value;
    }

    public String getDescription() {
        return this.description;
    }

    public static String getDescriptionByValue(String value) {
        return "";
    }
}
